package com.roowoo.plateform.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/***
 * @project: spring-cloud
 * @package: com.roowoo.plateform.controller
 * @description:
 * @author: kyrie
 * @mail: 18654169290@163.com
 * @createDate: 2022/3/17 14:58
 */
@RestController
@Slf4j
public class UserController {
    @GetMapping("/getUserInfo")
    public String getUserInfo(@RequestParam("userId") String userId) {
        log.info("订单服务调用用户服务,查询用户信息开始.");
        return "yyyyMMdd-".concat(userId);
    }
}
